<div id="player-list">
	<h1>Here is <%= @user.name %>'s team</h1>

	<table class="table">
  	<% @picks.each do |pick| %>
		<% player = pick.player %>
		<tr class="<%= cycle('odd', 'even') %>">
			
			<td>
				<%= image_tag player.image_url, :class => 'list-image' %>
			</td>
			
			<td class="list-description">
				<dl>
					<dt><%=h player.name %></dt>
					<dd>Overall: <%= player.overall %></dd>
				</dl>
			</td>
		</tr>
	<% end %>
	<%= button_to 'Back to Users', :controller => 'user', :action => 'pick_user' %>
	</table>
	<div id ="signed-in">
		<div class ="positioning">
		<%= @user.name %>'s record<br \>
		<%= @user.wins %> - <%= @user.loses %>
		</div> 
	</div>
</div>
